package com.itheima.附加题.work2;

public class DeLaiWen extends Hero {

    @Override
    public void say() {
        System.out.println("欢迎来到德莱联盟");
    }

    @Override
    public void startFirstAbility() {
        startAnility(new Anility("旋转飞斧",6,45));
    }

 @Override
    public void startSecondAbility() {
     startAnility(new Anility("开道利斧",5,70));
    }

    @Override
    public void startThirdAbility() {
        startAnility(new Anility("冷血追命",32,100));
    }

    public DeLaiWen(String name, int hp, int mp, int attack, int defenses) {
        super(name, hp, mp, attack, defenses);
    }

    public DeLaiWen() {
    }
}
